@extends('back.index')
@section('title','作家详细资料-后台管理系统')
@section('mian')
    <div style="font-size:14px;padding:20px;" class="modal-content">
        <h2 class="sub-header power_mian">作者信息管理</h2>
        <div class="table-responsive">
            <table class="table table-striped">
                <tr>
                    <th>真实姓名</th>
                    <th>年龄</th>
                    <th>职业</th>
                    <th>学历</th>
                    <th>毕业院校</th>
                    <th>专业</th>
                    <th>操作</th>
                </tr>
                @if(count($deta))
                @foreach($deta as $k)
                <tr>
                    <td>{{$k->name}}</td>
                    <td>{{$k->age}}</td>
                    <td>{{$k->job}}</td>
                    <td>{{$k->record}}</td>
                    <td>{{$k->school}}</td>
                    <td>{{$k->discipline}}</td>
                    <td>
                        <a href="{{url('back/writer/userDetails/chop/'.$k->id)}}" class="btn btn-info">删除</a>
                    </td>
                </tr>
                @endforeach
                @else
                    <tr>
                        <td colspan="7" style="text-align: center;border-bottom: 1px solid #DDD"><h2>暂无数据</h2></td>
                    </tr>
        @endif
            </table>
        </div>
    </div>
    @endsection